package com.saer.client.label;

import com.smartgwt.client.widgets.Label;

public class TextLabel extends Label {

	private String contents = null;
	
	public TextLabel(String contents) {
		this.contents = contents;
		setBackgroundColor("#EFFBF2");
		setContents(contents);
	}

	public TextLabel(int width, int height, String contents) {
		this(contents);
		setWidth(width);
		setHeight(height);
	}
	
	public void setTextColor(String color) {
		this.setContents("<b style=\"color:" + color + "\">" + contents + "</b>");
	}

}
